// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
// import Vue from 'vue'
// import Vuex from 'vuex'
import App from './App'
import router from './router'
import store from './store'
import Vant from 'vant';
import VueJsonp from 'vue-jsonp'
Vue.use(VueJsonp)
import './rem'
import 'vant/lib/index.css';
// import Vconsole from 'vconsole';
import moment from 'moment'
import {is_weixin} from './wxVerify'
if (!is_weixin()) { // 如果不是微信内置浏览器，就动态跳转到以下页面
  window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx6fc47e1de529b72d&redirect_uri=http://lsxysd.jlxmall.com/Wxlogin/callback&response_type=code&scope=snsapi_base#wechat_redirect';
}
// new Vconsole();
Vue.use(Vant);
// Vue.use(Vuex);
Vue.config.productionTip = false
Vue.prototype.$moment = moment;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  store,
  template: '<App/>'
})
